numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]
squared_numbers = [num * num for num in numbers]
print(squared_numbers)
dictionary = {'a': 4, 'b': 5}
squared_dictionary = {key: num * num for (key, num) in dictionary.items()}
print(squared_dictionary)
